home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re Part Server.10 < prev    next >
Encoding:
Internet Message Format  |  1996-07-10  |  1.5 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Part Server
  2. Sent:        7/10/96 11:39 AM
  3. Received:    7/10/96 11:51 AM
  4. From:        Serge Froment, sfroment@odyssee.net
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Thanks for your helpful information. I have more questions, though.
  9.  
  10. >- Create a shared library that has a callable C or SOM API
  11. >- Make the shared libraries data fragment shared. Use globals to point at
  12. >data structures that all parts and processes should share.
  13. >- Clients call the C or SOM API
  14. >- Optionally use the threads manager from within the shared library
  15.  
  16. With such a shared library, in which process will the data fragment live?
  17. In which heap will a call to NewHandle allocate memory? Can I use temp
  18. memory? If I crash inside the shared library, will the memory it allocated
  19. be released?
  20.  
  21. If I use the thread manager, where will threads live, relative to
  22. processes? This may be a dumb question, but I thought threads must belong
  23. to a process.
  24.  
  25. >MacApp has been used to create background tasks, but there is no intrinsic
  26. >support in the framework. I don't know about PowerPlant. I'm not sure you'd
  27. >need an framework, anyhow. You probably don't want to create a fullblown
  28. >app. You certainly don't need all of the menu, view, document stuff that
  29. >the frameworks provide. You could probably roll your own with only a
  30. >minimum of application code.
  31.  
  32. I obviously don't need menus, but I think MacApp has some nice stuff to
  33. handle AppleEvents. Can I use that without using the remaining of MacApp?
  34.  
  35. Serge
  36.  
  37.  
  38.